package javaClassExercise.designPatterns.abstractFactory;

/**
 * Created by lomo on 2017/3/25.
 *
 * SendMailFactory工厂类 实现了 对MailSender功能类的实例创建
 */
public class SendMailFactory implements Provider {
    @Override
    public Sender produce() {
        return new MailSender();
    }
}
